package cn.pojo;

import java.util.Date;

/**
 * @author
 * @description
 * @date 2021/8/29 10:39
 */
public class Car extends Vehicle {
    public Car() {
    }

    public Car(String carType, String carNo, Date inTime, Date outTime, int carStatus, double totalTime) {
        super(carType, carNo, inTime, outTime, carStatus, totalTime);
    }

    public Car(String carType, String carNo, Date inTime, int carStatus) {
        super(carType, carNo, inTime, carStatus);
    }

    @Override
    public double cale(double totalTime) {
        return 10;
    }
}
